
<div class="content">
    <div class="panel panel-default panel-intro">
        <div class="panel-body">
            <div id="" class="tab-content">
                <div class="tab-pane fade active in" id="one">
                    <div class="widget-body no-padding">
                        <div class="bootstrap-table">
                            <div class="fixed-table-toolbar">
                                <div class="bs-bars pull-left">
                                    <div id="toolbar" class="toolbar" style="position: relative;">
                                        <a href="/admin/adsense/index_add" class="btn btn-success btn-add " title="添加"><i class="fa fa-plus"></i> 添加</a>
                                    </div>
                                </div>
                                <form action="" method="post">
                                    <table id="" class="table table-striped table-bordered table-hover table-nowrap" data-operate-edit="1" data-operate-del="1" width="100%">
                                        <thead>

                                        <tr>
                                            <th class="bs-checkbox " style="text-align: center; vertical-align: middle;width:3%;height: 45px;" data-field="0">

                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width:4.5%;" data-field="fid">
                                                <div class="th-inner ">ID</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width:4.5%;" data-field="fid">
                                                <div class="th-inner ">广告位标题</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width:15%;" data-field="title">
                                                <div class="th-inner ">广告类型</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width:6%;" data-field="type">
                                                <div class="th-inner ">说明</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width:6%;" data-field="type">
                                                <div class="th-inner ">广告媒体宽</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width:6%;" data-field="type">
                                                <div class="th-inner ">广告媒体高</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle;width: 20%;" data-field="operate">
                                                <div class="th-inner ">操作</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                        </thead>
                                        <tbody data-listidx="0">
                                        {volist name="list" id="vo"}
                                        <tr data-index="0">
                                            <td class="bs-checkbox "></td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                {$vo.id}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                {$vo.adtitle}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                {if condition="$vo.adtype eq 0"}
                                                    自定义上传图片
                                                {else/}
                                                    产品选择
                                                {/if}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                {$vo.adinfo}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                {$vo.width}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                {$vo.height}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle; ">
                                                <a href="/admin/adsense/index_edit?id={$vo.id}" class="btn btn-success btn-edit btn-disabled" title="编辑"><i class="fa fa-pencil"></i> 编辑</a>
                                                <a href="/admin/adsense/index_del?id={$vo.id}" onclick="return confirm('确定要删除吗');"  class="btn btn-success btn-add btn-disabled" title="删除"><i class="fa fa-trash"></i> 删除</a>
                                                <a href="/admin/adsense/index_ad?id={$vo.id}" class="btn btn-success btn-add " title="查看"><i class="fa fa-plus"></i> 查看广告信息</a>
                                            </td>
                                        </tr>
                                        {/volist}
                                        </tbody>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
